import { createStore } from 'vuex'
import user from './modules/user.js'
import persistedState from 'vuex-persistedstate'
export default createStore({
  modules: {
    user
  },
  plugins:[
    persistedState({
       key:"test",
       paths:['user'] //模块名称
    })
  ]
})
